gdbsx: Makefiles: correctly generate dependencies
authorGianni Tedesco <gianni.tedesco@citrix.com>
Thu, 28 Oct 2010 10:47:26 +0000 (11:47 +0100)
committerGianni Tedesco <gianni.tedesco@citrix.com>
Thu, 28 Oct 2010 10:47:26 +0000 (11:47 +0100)
commit576b10f44cf9dfaf0600b6216659cbda25825d98
treeed62ea52d76e3e8e6e8f2b8a7cf830d3bdb4a1fd
parent9de2eedc20b29ae1204ee5f911764b01e62a07d3
gdbsx: Makefiles: correctly generate dependencies

gdbsx hacks CFLAGS to remove optimisations for easier debugging, however
this breaks dep generation due to an early evaluation of CFLAGS and
leaves stale files called "..d" after a make clean. We could possibly
fix this by separating dep generation from the rest of CFLAGS but it
seems a little invasive. The gdbsx hackers can do their own thing during
development and testing anyway...

Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com>
tools/debugger/gdbsx/Rules.mk
tools/debugger/gdbsx/gx/Makefile
tools/debugger/gdbsx/xg/Makefile